import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const Case: AppRouteRecordRaw = {
	path: '/Case',
	name: 'Case',
	component: DEFAULT_LAYOUT,
	meta: {
		locale: '病例管理',
		ignoreCache: true,
		requiresAuth: true,
		icon: 'icon-user-group',
		order: 1,
		roles: 'sys:case',
	},
	children: [
		{
			path: 'type',
			name: 'type',
			component: () =>
				import('@/views/case/type.vue'),
			meta: {
				locale: '病例分类',
				ignoreCache: true,
				requiresAuth: true,
				roles: 'sys:casetype',
			},
        },
        {
			path: 'list',
			name: 'list',
			component: () =>
				import('@/views/case/list.vue'),
			meta: {
				locale: '病例列表',
				ignoreCache: true,
				requiresAuth: true,
				roles: 'sys:caselist',
			},
		},
		// {
		// 	path: 'student',
		// 	name: 'student',
		// 	component: () =>
		// 		import('@/views/user/student.vue'),
		// 	meta: {
		// 		locale: '学生管理',
		// 		ignoreCache: true,
		// 		requiresAuth: true,
		// 		roles: 'sys:student',
		// 	},
		// },
	
	
	],
};

export default Case;